package ystp.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class XinyaoshenqingExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public XinyaoshenqingExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengIsNull() {
            addCriterion("yaopinmingcheng is null");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengIsNotNull() {
            addCriterion("yaopinmingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengEqualTo(String value) {
            addCriterion("yaopinmingcheng =", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotEqualTo(String value) {
            addCriterion("yaopinmingcheng <>", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengGreaterThan(String value) {
            addCriterion("yaopinmingcheng >", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengGreaterThanOrEqualTo(String value) {
            addCriterion("yaopinmingcheng >=", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengLessThan(String value) {
            addCriterion("yaopinmingcheng <", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengLessThanOrEqualTo(String value) {
            addCriterion("yaopinmingcheng <=", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengLike(String value) {
            addCriterion("yaopinmingcheng like", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotLike(String value) {
            addCriterion("yaopinmingcheng not like", value, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengIn(List<String> values) {
            addCriterion("yaopinmingcheng in", values, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotIn(List<String> values) {
            addCriterion("yaopinmingcheng not in", values, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengBetween(String value1, String value2) {
            addCriterion("yaopinmingcheng between", value1, value2, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andYaopinmingchengNotBetween(String value1, String value2) {
            addCriterion("yaopinmingcheng not between", value1, value2, "yaopinmingcheng");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangIsNull() {
            addCriterion("guigebaozhuang is null");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangIsNotNull() {
            addCriterion("guigebaozhuang is not null");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangEqualTo(String value) {
            addCriterion("guigebaozhuang =", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangNotEqualTo(String value) {
            addCriterion("guigebaozhuang <>", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangGreaterThan(String value) {
            addCriterion("guigebaozhuang >", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangGreaterThanOrEqualTo(String value) {
            addCriterion("guigebaozhuang >=", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangLessThan(String value) {
            addCriterion("guigebaozhuang <", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangLessThanOrEqualTo(String value) {
            addCriterion("guigebaozhuang <=", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangLike(String value) {
            addCriterion("guigebaozhuang like", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangNotLike(String value) {
            addCriterion("guigebaozhuang not like", value, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangIn(List<String> values) {
            addCriterion("guigebaozhuang in", values, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangNotIn(List<String> values) {
            addCriterion("guigebaozhuang not in", values, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangBetween(String value1, String value2) {
            addCriterion("guigebaozhuang between", value1, value2, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andGuigebaozhuangNotBetween(String value1, String value2) {
            addCriterion("guigebaozhuang not between", value1, value2, "guigebaozhuang");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiIsNull() {
            addCriterion("shenqingkeshi is null");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiIsNotNull() {
            addCriterion("shenqingkeshi is not null");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiEqualTo(String value) {
            addCriterion("shenqingkeshi =", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiNotEqualTo(String value) {
            addCriterion("shenqingkeshi <>", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiGreaterThan(String value) {
            addCriterion("shenqingkeshi >", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiGreaterThanOrEqualTo(String value) {
            addCriterion("shenqingkeshi >=", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiLessThan(String value) {
            addCriterion("shenqingkeshi <", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiLessThanOrEqualTo(String value) {
            addCriterion("shenqingkeshi <=", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiLike(String value) {
            addCriterion("shenqingkeshi like", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiNotLike(String value) {
            addCriterion("shenqingkeshi not like", value, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiIn(List<String> values) {
            addCriterion("shenqingkeshi in", values, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiNotIn(List<String> values) {
            addCriterion("shenqingkeshi not in", values, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiBetween(String value1, String value2) {
            addCriterion("shenqingkeshi between", value1, value2, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andShenqingkeshiNotBetween(String value1, String value2) {
            addCriterion("shenqingkeshi not between", value1, value2, "shenqingkeshi");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieIsNull() {
            addCriterion("zhuankezubie is null");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieIsNotNull() {
            addCriterion("zhuankezubie is not null");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieEqualTo(String value) {
            addCriterion("zhuankezubie =", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieNotEqualTo(String value) {
            addCriterion("zhuankezubie <>", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieGreaterThan(String value) {
            addCriterion("zhuankezubie >", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieGreaterThanOrEqualTo(String value) {
            addCriterion("zhuankezubie >=", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieLessThan(String value) {
            addCriterion("zhuankezubie <", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieLessThanOrEqualTo(String value) {
            addCriterion("zhuankezubie <=", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieLike(String value) {
            addCriterion("zhuankezubie like", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieNotLike(String value) {
            addCriterion("zhuankezubie not like", value, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieIn(List<String> values) {
            addCriterion("zhuankezubie in", values, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieNotIn(List<String> values) {
            addCriterion("zhuankezubie not in", values, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieBetween(String value1, String value2) {
            addCriterion("zhuankezubie between", value1, value2, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andZhuankezubieNotBetween(String value1, String value2) {
            addCriterion("zhuankezubie not between", value1, value2, "zhuankezubie");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoIsNull() {
            addCriterion("shifoujiyao is null");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoIsNotNull() {
            addCriterion("shifoujiyao is not null");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoEqualTo(String value) {
            addCriterion("shifoujiyao =", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoNotEqualTo(String value) {
            addCriterion("shifoujiyao <>", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoGreaterThan(String value) {
            addCriterion("shifoujiyao >", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoGreaterThanOrEqualTo(String value) {
            addCriterion("shifoujiyao >=", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoLessThan(String value) {
            addCriterion("shifoujiyao <", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoLessThanOrEqualTo(String value) {
            addCriterion("shifoujiyao <=", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoLike(String value) {
            addCriterion("shifoujiyao like", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoNotLike(String value) {
            addCriterion("shifoujiyao not like", value, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoIn(List<String> values) {
            addCriterion("shifoujiyao in", values, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoNotIn(List<String> values) {
            addCriterion("shifoujiyao not in", values, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoBetween(String value1, String value2) {
            addCriterion("shifoujiyao between", value1, value2, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifoujiyaoNotBetween(String value1, String value2) {
            addCriterion("shifoujiyao not between", value1, value2, "shifoujiyao");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinIsNull() {
            addCriterion("shifouchuangxin is null");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinIsNotNull() {
            addCriterion("shifouchuangxin is not null");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinEqualTo(String value) {
            addCriterion("shifouchuangxin =", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinNotEqualTo(String value) {
            addCriterion("shifouchuangxin <>", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinGreaterThan(String value) {
            addCriterion("shifouchuangxin >", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinGreaterThanOrEqualTo(String value) {
            addCriterion("shifouchuangxin >=", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinLessThan(String value) {
            addCriterion("shifouchuangxin <", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinLessThanOrEqualTo(String value) {
            addCriterion("shifouchuangxin <=", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinLike(String value) {
            addCriterion("shifouchuangxin like", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinNotLike(String value) {
            addCriterion("shifouchuangxin not like", value, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinIn(List<String> values) {
            addCriterion("shifouchuangxin in", values, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinNotIn(List<String> values) {
            addCriterion("shifouchuangxin not in", values, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinBetween(String value1, String value2) {
            addCriterion("shifouchuangxin between", value1, value2, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouchuangxinNotBetween(String value1, String value2) {
            addCriterion("shifouchuangxin not between", value1, value2, "shifouchuangxin");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanIsNull() {
            addCriterion("shifouzhinan is null");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanIsNotNull() {
            addCriterion("shifouzhinan is not null");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanEqualTo(String value) {
            addCriterion("shifouzhinan =", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanNotEqualTo(String value) {
            addCriterion("shifouzhinan <>", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanGreaterThan(String value) {
            addCriterion("shifouzhinan >", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanGreaterThanOrEqualTo(String value) {
            addCriterion("shifouzhinan >=", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanLessThan(String value) {
            addCriterion("shifouzhinan <", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanLessThanOrEqualTo(String value) {
            addCriterion("shifouzhinan <=", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanLike(String value) {
            addCriterion("shifouzhinan like", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanNotLike(String value) {
            addCriterion("shifouzhinan not like", value, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanIn(List<String> values) {
            addCriterion("shifouzhinan in", values, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanNotIn(List<String> values) {
            addCriterion("shifouzhinan not in", values, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanBetween(String value1, String value2) {
            addCriterion("shifouzhinan between", value1, value2, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifouzhinanNotBetween(String value1, String value2) {
            addCriterion("shifouzhinan not between", value1, value2, "shifouzhinan");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangIsNull() {
            addCriterion("shifoulinchuang is null");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangIsNotNull() {
            addCriterion("shifoulinchuang is not null");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangEqualTo(String value) {
            addCriterion("shifoulinchuang =", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangNotEqualTo(String value) {
            addCriterion("shifoulinchuang <>", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangGreaterThan(String value) {
            addCriterion("shifoulinchuang >", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangGreaterThanOrEqualTo(String value) {
            addCriterion("shifoulinchuang >=", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangLessThan(String value) {
            addCriterion("shifoulinchuang <", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangLessThanOrEqualTo(String value) {
            addCriterion("shifoulinchuang <=", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangLike(String value) {
            addCriterion("shifoulinchuang like", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangNotLike(String value) {
            addCriterion("shifoulinchuang not like", value, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangIn(List<String> values) {
            addCriterion("shifoulinchuang in", values, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangNotIn(List<String> values) {
            addCriterion("shifoulinchuang not in", values, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangBetween(String value1, String value2) {
            addCriterion("shifoulinchuang between", value1, value2, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andShifoulinchuangNotBetween(String value1, String value2) {
            addCriterion("shifoulinchuang not between", value1, value2, "shifoulinchuang");
            return (Criteria) this;
        }

        public Criteria andLincainianfenIsNull() {
            addCriterion("lincainianfen is null");
            return (Criteria) this;
        }

        public Criteria andLincainianfenIsNotNull() {
            addCriterion("lincainianfen is not null");
            return (Criteria) this;
        }

        public Criteria andLincainianfenEqualTo(String value) {
            addCriterion("lincainianfen =", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenNotEqualTo(String value) {
            addCriterion("lincainianfen <>", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenGreaterThan(String value) {
            addCriterion("lincainianfen >", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenGreaterThanOrEqualTo(String value) {
            addCriterion("lincainianfen >=", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenLessThan(String value) {
            addCriterion("lincainianfen <", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenLessThanOrEqualTo(String value) {
            addCriterion("lincainianfen <=", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenLike(String value) {
            addCriterion("lincainianfen like", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenNotLike(String value) {
            addCriterion("lincainianfen not like", value, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenIn(List<String> values) {
            addCriterion("lincainianfen in", values, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenNotIn(List<String> values) {
            addCriterion("lincainianfen not in", values, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenBetween(String value1, String value2) {
            addCriterion("lincainianfen between", value1, value2, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andLincainianfenNotBetween(String value1, String value2) {
            addCriterion("lincainianfen not between", value1, value2, "lincainianfen");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNull() {
            addCriterion("ordernumber is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNotNull() {
            addCriterion("ordernumber is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberEqualTo(Integer value) {
            addCriterion("ordernumber =", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotEqualTo(Integer value) {
            addCriterion("ordernumber <>", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThan(Integer value) {
            addCriterion("ordernumber >", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernumber >=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThan(Integer value) {
            addCriterion("ordernumber <", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThanOrEqualTo(Integer value) {
            addCriterion("ordernumber <=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIn(List<Integer> values) {
            addCriterion("ordernumber in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotIn(List<Integer> values) {
            addCriterion("ordernumber not in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber not between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}